package com.linuxgt.pattern.command.scheme3;

/**
 * Created by LIUTENG on 2015-01-09.
 */
public class PrintEventNumberCommand implements Command {
    PrintNumber number;

    public PrintEventNumberCommand(PrintNumber number) {
        this.number = number;
    }

    @Override
    public void execute() {
        number.printEventNumber();
    }
}
